/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package controllerButtons;

import java.awt.Color;
import java.awt.Graphics;
import javax.swing.JButton;

/**
 *
 * @author luc0
 */
public class StaticControllerButton extends JButton{

    private String upButton;
    private String downButton;
    private String leftButton;
    private String rightButton;
    private Color color;
    public StaticControllerButton(){
        super();
        setIcon(new javax.swing.ImageIcon(getClass().getResource("/gamecontrollerserver/resources/arrow_controller.png")));
    }

    public String getDownButton() {
        return downButton;
    }

    public void setDownButton(String downButton) {
        this.downButton = downButton;
    }

    public String getLeftButton() {
        return leftButton;
    }

    public void setLeftButton(String leftButton) {
        this.leftButton = leftButton;
    }

    public String getRightButton() {
        return rightButton;
    }

    public void setRightButton(String rightButton) {
        this.rightButton = rightButton;
    }

    public String getUpButton() {
        return upButton;
    }

    public void setUpButton(String upButton) {
        this.upButton = upButton;
    }

    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.setBackground(color);
        this.color = color;
    }

    @Override
    public void paint(Graphics g) {
        super.paint(g);
           //Mouse anchor for move
         g.setColor(Color.RED);
         g.fillRect(0,0,10,10);
    }


    
}
